<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="*|/"><xsl:apply-templates/></xsl:template>

<xsl:template match="text()|@*"><xsl:value-of select="."/></xsl:template>

<xsl:template match='nbsp' name='nbsp'>
<xsl:text disable-output-escaping='yes'>&amp;nbsp;</xsl:text>
</xsl:template>

<xsl:template match="contest">

<TABLE class="body" cellSpacing="0" cellPadding="0"  border="0" width="100%">
	<TR vAlign="top"> 
		<TD width="100%" align="center" style="border-left:1px solid #CCCCC99; padding-bottom:15px;" bgcolor="white">
			<a class="black" href="/gallery/thewall.aspx">Ultime foto caricate</a>
		</TD>
	</TR>
	<TR vAlign="top"> 
		<TD style="border-left:1px solid #CCCCC99;" width="100%" align="center" bgcolor="white">
			<xsl:for-each select="pic[position() &lt; 6]">

			<div><a href="/gallery/galleryShow.aspx?gid={@gid}&amp;pid={@pid}"><img border="0" src="http://imgs.goparty.it/gallery/thumb/{@picname}"/></a></div>

			</xsl:for-each>
		</TD>
	</TR>
	<TR vAlign="top"> 
		<TD style="border-left:1px solid #CCCCC99;padding-right:10px; padding-top:15px;" width="100%" align="right" bgcolor="white">
			<a class="black" href="/gallery/activitiesTop1000.aspx">segue...</a>
		</TD>
	</TR>
</TABLE>


</xsl:template>

</xsl:stylesheet>